/**
 * Create by CaoWenjian
 *
 * @copyRight: 2018
 **/
package com.bjboot.caocao.common.utils;

import java.io.Serializable;
import java.util.List;

/**
 *@Description 界面工具类
 *@Author 操文健
 *@Date 2018-09-11 下午7:12
 *@Version 1.0
 **/
public class PageUtils implements Serializable {
    private static final long serialVersionUID = -2343410117221160855L;

    private int total;
    private List<?> rows;

    public PageUtils(List<?> list, int total) {
        this.rows = list;
        this.total = total;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<?> getRows() {
        return rows;
    }

    public void setRows(List<?> rows) {
        this.rows = rows;
    }
}
